package com.xlabs.server.DO;

import javax.jdo.PersistenceManagerFactory;
import javax.jdo.JDOHelper;


/**
 * PMF class.
 */
public final class PMF 
{
    private static final PersistenceManagerFactory pmfInstance =
        JDOHelper.getPersistenceManagerFactory("transactions-optional");

    /**
     * Private constructor.
     */
    private PMF() 
    {
    }

    /**
     * Gets an instance of PersistenceManagerFactory.
     * @return an instance of PersistenceManagerFactory.
     */
    public static PersistenceManagerFactory get() 
    {
        return pmfInstance;
    }
}